package com.ruoyi.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.system.domain.MiniSubjectHistory;
import com.ruoyi.system.service.MiniSubjectHistoryService;
import com.ruoyi.system.mapper.MiniSubjectHistoryMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
    * @author 李鼎
* @description 针对表【mini_subject_history(题材历史表)】的数据库操作Service实现
* @createDate 2023-11-17 14:01:05
*/
@Service
public class MiniSubjectHistoryServiceImpl extends ServiceImpl<MiniSubjectHistoryMapper, MiniSubjectHistory>
    implements MiniSubjectHistoryService{

    @Override
    public void deleteYestdayHistory() {
        this.getBaseMapper().deleteYestdayHistory();
    }

    @Override
    public void batchUpdatetMoneyInflow(List<MiniSubjectHistory> parentSubjectList) {
        this.getBaseMapper().batchUpdatetMoneyInflow(parentSubjectList);
    }
}




